package com.zhongzhi.service;

import java.util.Date;

import org.springframework.web.bind.annotation.RequestMapping;

import com.zhongzhi.springboot.pojo.Measure;
import com.zhongzhi.springboot.pojo.MeasureShow2;
import com.zhongzhi.util.Bo;
import com.zhongzhi.util.JsonResult;

public interface MeasureService{
	//增加测试数据(业务自动增加)
	public Bo insert(Measure measure);
	//修改测试数据
	public Bo update(Measure measure);
	//删除业务数据
	public Bo delete(Integer id);
	//批量删除业务数据
	public Bo deletes(Integer[] ids);
	//查询业务数据(无条件/分页)
	public Bo select(Integer pages,Integer line,Long startTime,Long endTime,Integer StationId,String str);
	//查询总数
	public Bo selectSize(Long startTime,Long endTime,Integer StationId,String str);
	//查询业务数据(根据id)
	public Bo selectById(Integer id);
	//根据机型机号查询数据库
	public Bo selectByTypeNum(Integer typeId, String deviceNum);
	public Bo webinsert(Measure measure);
	public Bo webupdate(Measure measure);
	public Bo webdelete(Integer id);
	public Bo webselect();
	//根据机型机号删除
	public Bo deleteNum(String type, String num);
	
	Bo webdeletenum(String type, String num);
	
	//增加测试数据
	public JsonResult insertShow(MeasureShow2 measureShow2);
	//网络同步测试数据
	public Bo webinsertShow(MeasureShow2 measureShow2);
}
